<!DOCTYPE html">
<html>
<head>
	<meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
	<title>跳转提示</title>
	<link rel="shortcut icon" href="__PUBLIC__/img/favicon.ico">
	<style type="text/css">
		*{ padding: 0; margin: 0; }
        body{ background: #fff; font-family: "Microsoft Yahei","Helvetica Neue",Helvetica,Arial,sans-serif; color: #333; font-size: 12px; }
		.m{width:480px;height:300px;backgrund:#fff;box-shadow:0px 0px 20px #ccc;position:absolute;left:50%;top:50%;margin-left:-240px;margin-top:-150px;}
		.m .t{width:100%;height:auto;overflow:hidden;text-align:center;padding-top:30px;padding-bottom:30px;}
		.m .ms{width:90%;heiht:80px;overflow:hidden;text-align:center;color:#eb3d4f;font-size:30px;margin:0px auto;}
		.m .jump{width:100%;heiht:auto;overflow:hidden;text-align:center;background: url(__PUBLIC__/img/success-error.png) no-repeat center top;line-height:70px;margin-top:20px;color:#7f7f7f;}
		.m .jump a{color:#eb3d4f;}
		.m .jump b{color:#eb3d4f;}
	</style>
</head>
<body>
	<div class="m">
		<div class="t"><img src="__PUBLIC__/img/error.png" /></div>
		<p class="ms"><?php echo($error); ?></p>
		<p class="jump">
            页面自动 <a id="href" href="<?php echo($jumpUrl); ?>">跳转</a> 等待时间： <b id="wait"><?php echo($waitSecond); ?></b>
        </p>
	</div>
	<script type="text/javascript">
        (function(){
            var wait = document.getElementById('wait'),
                href = document.getElementById('href').href;
            var interval = setInterval(function(){
                var time = --wait.innerHTML;
                if(time <= 0) {
                    location.href = href;
                    clearInterval(interval);
                };
            }, 1000);
        })();
    </script>
</body>
</html>